<!DOCTYPE html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 5.3.0">
  <link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
  <link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
  <link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
  <link rel="mask-icon" href="/images/logo.svg" color="#222">

<link rel="stylesheet" href="/css/main.css">


<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">

<script id="hexo-configurations">
    var NexT = window.NexT || {};
    var CONFIG = {"hostname":"example.com","root":"/","scheme":"Muse","version":"7.8.0","exturl":false,"sidebar":{"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},"copycode":{"enable":false,"show_result":false,"style":null},"back2top":{"enable":true,"sidebar":false,"scrollpercent":false},"bookmark":{"enable":false,"color":"#222","save":"auto"},"fancybox":false,"mediumzoom":false,"lazyload":false,"pangu":false,"comments":{"style":"tabs","active":null,"storage":true,"lazyload":false,"nav":null},"algolia":{"hits":{"per_page":10},"labels":{"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}},"localsearch":{"enable":true,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},"motion":{"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}},"path":"search.json"};
  </script>

  <meta name="description" content="​    原文地址：https:&#x2F;&#x2F;blog.csdn.net&#x2F;Hodors&#x2F;article&#x2F;details&#x2F;112325688 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172">
<meta property="og:type" content="article">
<meta property="og:title" content="pyqtgraph docker">
<meta property="og:url" content="http://example.com/2023/01/29/pyqtgraph%20docker/index.html">
<meta property="og:site_name" content="学无止境">
<meta property="og:description" content="​    原文地址：https:&#x2F;&#x2F;blog.csdn.net&#x2F;Hodors&#x2F;article&#x2F;details&#x2F;112325688 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172">
<meta property="og:locale" content="zh_CN">
<meta property="article:published_time" content="2023-01-29T04:22:00.000Z">
<meta property="article:modified_time" content="2023-01-29T04:22:00.000Z">
<meta property="article:author" content="xudonglei">
<meta property="article:tag" content="python基础">
<meta name="twitter:card" content="summary">

<link rel="canonical" href="http://example.com/2023/01/29/pyqtgraph%20docker/">


<script id="page-configurations">
  // https://hexo.io/docs/variables.html
  CONFIG.page = {
    sidebar: "",
    isHome : false,
    isPost : true,
    lang   : 'zh-CN'
  };
</script>

  <title>pyqtgraph docker | 学无止境</title>
  






  <noscript>
  <style>
  .use-motion .brand,
  .use-motion .menu-item,
  .sidebar-inner,
  .use-motion .post-block,
  .use-motion .pagination,
  .use-motion .comments,
  .use-motion .post-header,
  .use-motion .post-body,
  .use-motion .collection-header { opacity: initial; }

  .use-motion .site-title,
  .use-motion .site-subtitle {
    opacity: initial;
    top: initial;
  }

  .use-motion .logo-line-before i { left: initial; }
  .use-motion .logo-line-after i { right: initial; }
  </style>
</noscript>

</head>

<body itemscope itemtype="http://schema.org/WebPage">
  <div class="container use-motion">
    <div class="headband"></div>

    <header class="header" itemscope itemtype="http://schema.org/WPHeader">
      <div class="header-inner"><div class="site-brand-container">
  <div class="site-nav-toggle">
    <div class="toggle" aria-label="切换导航栏">
      <span class="toggle-line toggle-line-first"></span>
      <span class="toggle-line toggle-line-middle"></span>
      <span class="toggle-line toggle-line-last"></span>
    </div>
  </div>

  <div class="site-meta">

    <a href="/" class="brand" rel="start">
      <span class="logo-line-before"><i></i></span>
      <h1 class="site-title">学无止境</h1>
      <span class="logo-line-after"><i></i></span>
    </a>
      <p class="site-subtitle" itemprop="description">Do not bb, show me the example</p>
  </div>

  <div class="site-nav-right">
    <div class="toggle popup-trigger">
        <i class="fa fa-search fa-fw fa-lg"></i>
    </div>
  </div>
</div>




<nav class="site-nav">
  <ul id="menu" class="menu">
        <li class="menu-item menu-item-home">

    <a href="/" rel="section"><i class="fa fa-fw fa-home"></i>首页</a>

  </li>
        <li class="menu-item menu-item-tags">

    <a href="/tags/" rel="section"><i class="fa fa-fw fa-tags"></i>标签</a>

  </li>
        <li class="menu-item menu-item-categories">

    <a href="/categories/" rel="section"><i class="fa fa-fw fa-th"></i>分类</a>

  </li>
        <li class="menu-item menu-item-archives">

    <a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>归档</a>

  </li>
      <li class="menu-item menu-item-search">
        <a role="button" class="popup-trigger"><i class="fa fa-search fa-fw"></i>搜索
        </a>
      </li>
  </ul>
</nav>



  <div class="search-pop-overlay">
    <div class="popup search-popup">
        <div class="search-header">
  <span class="search-icon">
    <i class="fa fa-search"></i>
  </span>
  <div class="search-input-container">
    <input autocomplete="off" autocapitalize="off"
           placeholder="搜索..." spellcheck="false"
           type="search" class="search-input">
  </div>
  <span class="popup-btn-close">
    <i class="fa fa-times-circle"></i>
  </span>
</div>
<div id="search-result">
  <div id="no-result">
    <i class="fa fa-spinner fa-pulse fa-5x fa-fw"></i>
  </div>
</div>

    </div>
  </div>

</div>
    </header>

    
  <div class="back-to-top">
    <i class="fa fa-arrow-up"></i>
    <span>0%</span>
  </div>


    <main class="main">
      <div class="main-inner">
        <div class="content-wrap">
          

          <div class="content post posts-expand">
            

    
  
  
  <article itemscope itemtype="http://schema.org/Article" class="post-block" lang="zh-CN">
    <link itemprop="mainEntityOfPage" href="http://example.com/2023/01/29/pyqtgraph%20docker/">

    <span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
      <meta itemprop="image" content="/images/avatar.gif">
      <meta itemprop="name" content="xudonglei">
      <meta itemprop="description" content="搬砖 嵌入式">
    </span>

    <span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
      <meta itemprop="name" content="学无止境">
    </span>
      <header class="post-header">
        <h1 class="post-title" itemprop="name headline">
          pyqtgraph docker
        </h1>

        <div class="post-meta">
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-calendar-o"></i>
              </span>
              <span class="post-meta-item-text">发表于</span>

              <time title="创建时间：2023-01-29 12:22:00" itemprop="dateCreated datePublished" datetime="2023-01-29T12:22:00+08:00">2023-01-29</time>
            </span>
            <span class="post-meta-item">
              <span class="post-meta-item-icon">
                <i class="fa fa-folder-o"></i>
              </span>
              <span class="post-meta-item-text">分类于</span>
                <span itemprop="about" itemscope itemtype="http://schema.org/Thing">
                  <a href="/categories/python/" itemprop="url" rel="index"><span itemprop="name">python</span></a>
                </span>
            </span>

          
            <span id="/2023/01/29/pyqtgraph%20docker/" class="post-meta-item leancloud_visitors" data-flag-title="pyqtgraph docker" title="阅读次数">
              <span class="post-meta-item-icon">
                <i class="fa fa-eye"></i>
              </span>
              <span class="post-meta-item-text">阅读次数：</span>
              <span class="leancloud-visitors-count"></span>
            </span>
  
  <span class="post-meta-item">
    
      <span class="post-meta-item-icon">
        <i class="fa fa-comment-o"></i>
      </span>
      <span class="post-meta-item-text">Valine：</span>
    
    <a title="valine" href="/2023/01/29/pyqtgraph%20docker/#valine-comments" itemprop="discussionUrl">
      <span class="post-comments-count valine-comment-count" data-xid="/2023/01/29/pyqtgraph%20docker/" itemprop="commentCount"></span>
    </a>
  </span>
  
  

        </div>
      </header>

    
    
    
    <div class="post-body" itemprop="articleBody">

      
        <p>​    原文地址：<a target="_blank" rel="noopener" href="https://blog.csdn.net/Hodors/article/details/112325688">https://blog.csdn.net/Hodors/article/details/112325688</a></p>
<figure class="highlight python"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br><span class="line">74</span><br><span class="line">75</span><br><span class="line">76</span><br><span class="line">77</span><br><span class="line">78</span><br><span class="line">79</span><br><span class="line">80</span><br><span class="line">81</span><br><span class="line">82</span><br><span class="line">83</span><br><span class="line">84</span><br><span class="line">85</span><br><span class="line">86</span><br><span class="line">87</span><br><span class="line">88</span><br><span class="line">89</span><br><span class="line">90</span><br><span class="line">91</span><br><span class="line">92</span><br><span class="line">93</span><br><span class="line">94</span><br><span class="line">95</span><br><span class="line">96</span><br><span class="line">97</span><br><span class="line">98</span><br><span class="line">99</span><br><span class="line">100</span><br><span class="line">101</span><br><span class="line">102</span><br><span class="line">103</span><br><span class="line">104</span><br><span class="line">105</span><br><span class="line">106</span><br><span class="line">107</span><br><span class="line">108</span><br><span class="line">109</span><br><span class="line">110</span><br><span class="line">111</span><br><span class="line">112</span><br><span class="line">113</span><br><span class="line">114</span><br><span class="line">115</span><br><span class="line">116</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># -*- coding: utf-8 -*-</span></span><br><span class="line"><span class="string">&quot;&quot;&quot;</span></span><br><span class="line"><span class="string">This example demonstrates the use of pyqtgraph&#x27;s dock widget system.</span></span><br><span class="line"><span class="string">The dockarea system allows the design of user interfaces which can be rearranged by</span></span><br><span class="line"><span class="string">the user at runtime. Docks can be moved, resized, stacked, and torn out of the main</span></span><br><span class="line"><span class="string">window. This is similar in principle to the docking system built into Qt, but </span></span><br><span class="line"><span class="string">offers a more deterministic dock placement API (in Qt it is very difficult to </span></span><br><span class="line"><span class="string">programatically generate complex dock arrangements). Additionally, Qt&#x27;s docks are </span></span><br><span class="line"><span class="string">designed to be used as small panels around the outer edge of a window. Pyqtgraph&#x27;s </span></span><br><span class="line"><span class="string">docks were created with the notion that the entire window (or any portion of it) </span></span><br><span class="line"><span class="string">would consist of dockable components.</span></span><br><span class="line"><span class="string">&quot;&quot;&quot;</span></span><br><span class="line"> </span><br><span class="line"> </span><br><span class="line"> </span><br><span class="line"><span class="keyword">import</span> initExample <span class="comment">## Add path to library (just for examples; you do not need this)</span></span><br><span class="line"> </span><br><span class="line"><span class="keyword">import</span> pyqtgraph <span class="keyword">as</span> pg</span><br><span class="line"><span class="keyword">from</span> pyqtgraph.Qt <span class="keyword">import</span> QtCore, QtGui</span><br><span class="line"><span class="keyword">import</span> pyqtgraph.console</span><br><span class="line"><span class="keyword">import</span> numpy <span class="keyword">as</span> np</span><br><span class="line"> </span><br><span class="line"><span class="keyword">from</span> pyqtgraph.dockarea <span class="keyword">import</span> *</span><br><span class="line"> </span><br><span class="line">app = QtGui.QApplication([])</span><br><span class="line">win = QtGui.QMainWindow()</span><br><span class="line">area = DockArea()</span><br><span class="line">win.setCentralWidget(area)</span><br><span class="line">win.resize(<span class="number">1000</span>,<span class="number">500</span>)</span><br><span class="line">win.setWindowTitle(<span class="string">&#x27;pyqtgraph example: dockarea&#x27;</span>)</span><br><span class="line"> </span><br><span class="line"><span class="comment">## Create docks, place them into the window one at a time.</span></span><br><span class="line"><span class="comment">## Note that size arguments are only a suggestion; docks will still have to</span></span><br><span class="line"><span class="comment">## fill the entire dock area and obey the limits of their internal widgets.</span></span><br><span class="line">d1 = Dock(<span class="string">&quot;Dock1&quot;</span>, size=(<span class="number">1</span>, <span class="number">1</span>))     <span class="comment">## give this dock the minimum possible size</span></span><br><span class="line">d2 = Dock(<span class="string">&quot;Dock2 - Console&quot;</span>, size=(<span class="number">500</span>,<span class="number">300</span>), closable=<span class="literal">True</span>)</span><br><span class="line">d3 = Dock(<span class="string">&quot;Dock3&quot;</span>, size=(<span class="number">500</span>,<span class="number">400</span>))</span><br><span class="line">d4 = Dock(<span class="string">&quot;Dock4 (tabbed) - Plot&quot;</span>, size=(<span class="number">500</span>,<span class="number">200</span>))</span><br><span class="line">d5 = Dock(<span class="string">&quot;Dock5 - Image&quot;</span>, size=(<span class="number">500</span>,<span class="number">200</span>))</span><br><span class="line">d6 = Dock(<span class="string">&quot;Dock6 (tabbed) - Plot&quot;</span>, size=(<span class="number">500</span>,<span class="number">200</span>))</span><br><span class="line">area.addDock(d1, <span class="string">&#x27;left&#x27;</span>)      <span class="comment">## place d1 at left edge of dock area (it will fill the whole space since there are no other docks yet)</span></span><br><span class="line">area.addDock(d2, <span class="string">&#x27;right&#x27;</span>)     <span class="comment">## place d2 at right edge of dock area</span></span><br><span class="line">area.addDock(d3, <span class="string">&#x27;bottom&#x27;</span>, d1)<span class="comment">## place d3 at bottom edge of d1</span></span><br><span class="line">area.addDock(d4, <span class="string">&#x27;right&#x27;</span>)     <span class="comment">## place d4 at right edge of dock area</span></span><br><span class="line">area.addDock(d5, <span class="string">&#x27;left&#x27;</span>, d1)  <span class="comment">## place d5 at left edge of d1</span></span><br><span class="line">area.addDock(d6, <span class="string">&#x27;top&#x27;</span>, d4)   <span class="comment">## place d5 at top edge of d4</span></span><br><span class="line"> </span><br><span class="line"><span class="comment">## Test ability to move docks programatically after they have been placed</span></span><br><span class="line">area.moveDock(d4, <span class="string">&#x27;top&#x27;</span>, d2)     <span class="comment">## move d4 to top edge of d2</span></span><br><span class="line">area.moveDock(d6, <span class="string">&#x27;above&#x27;</span>, d4)   <span class="comment">## move d6 to stack on top of d4</span></span><br><span class="line">area.moveDock(d5, <span class="string">&#x27;top&#x27;</span>, d2)     <span class="comment">## move d5 to top edge of d2</span></span><br><span class="line"> </span><br><span class="line"> </span><br><span class="line"><span class="comment">## Add widgets into each dock</span></span><br><span class="line"> </span><br><span class="line"><span class="comment">## first dock gets save/restore buttons</span></span><br><span class="line">w1 = pg.LayoutWidget()</span><br><span class="line">label = QtGui.QLabel(<span class="string">&quot;&quot;&quot; -- DockArea Example -- </span></span><br><span class="line"><span class="string">This window has 6 Dock widgets in it. Each dock can be dragged</span></span><br><span class="line"><span class="string">by its title bar to occupy a different space within the window </span></span><br><span class="line"><span class="string">but note that one dock has its title bar hidden). Additionally,</span></span><br><span class="line"><span class="string">the borders between docks may be dragged to resize. Docks that are dragged on top</span></span><br><span class="line"><span class="string">of one another are stacked in a tabbed layout. Double-click a dock title</span></span><br><span class="line"><span class="string">bar to place it in its own window.</span></span><br><span class="line"><span class="string">&quot;&quot;&quot;</span>)</span><br><span class="line">saveBtn = QtGui.QPushButton(<span class="string">&#x27;Save dock state&#x27;</span>)</span><br><span class="line">restoreBtn = QtGui.QPushButton(<span class="string">&#x27;Restore dock state&#x27;</span>)</span><br><span class="line">restoreBtn.setEnabled(<span class="literal">False</span>)</span><br><span class="line">w1.addWidget(label, row=<span class="number">0</span>, col=<span class="number">0</span>)</span><br><span class="line">w1.addWidget(saveBtn, row=<span class="number">1</span>, col=<span class="number">0</span>)</span><br><span class="line">w1.addWidget(restoreBtn, row=<span class="number">2</span>, col=<span class="number">0</span>)</span><br><span class="line">d1.addWidget(w1)</span><br><span class="line">state = <span class="literal">None</span></span><br><span class="line"><span class="function"><span class="keyword">def</span> <span class="title">save</span>():</span></span><br><span class="line">    <span class="keyword">global</span> state</span><br><span class="line">    state = area.saveState()</span><br><span class="line">    restoreBtn.setEnabled(<span class="literal">True</span>)</span><br><span class="line"><span class="function"><span class="keyword">def</span> <span class="title">load</span>():</span></span><br><span class="line">    <span class="keyword">global</span> state</span><br><span class="line">    area.restoreState(state)</span><br><span class="line">saveBtn.clicked.connect(save)</span><br><span class="line">restoreBtn.clicked.connect(load)</span><br><span class="line"> </span><br><span class="line"> </span><br><span class="line">w2 = pg.console.ConsoleWidget()</span><br><span class="line">d2.addWidget(w2)</span><br><span class="line"> </span><br><span class="line"><span class="comment">## Hide title bar on dock 3</span></span><br><span class="line">d3.hideTitleBar()</span><br><span class="line">w3 = pg.PlotWidget(title=<span class="string">&quot;Plot inside dock with no title bar&quot;</span>)</span><br><span class="line">w3.plot(np.random.normal(size=<span class="number">100</span>))</span><br><span class="line">d3.addWidget(w3)</span><br><span class="line"> </span><br><span class="line">w4 = pg.PlotWidget(title=<span class="string">&quot;Dock 4 plot&quot;</span>)</span><br><span class="line">w4.plot(np.random.normal(size=<span class="number">100</span>))</span><br><span class="line">d4.addWidget(w4)</span><br><span class="line"> </span><br><span class="line">w5 = pg.ImageView()</span><br><span class="line">w5.setImage(np.random.normal(size=(<span class="number">100</span>,<span class="number">100</span>)))</span><br><span class="line">d5.addWidget(w5)</span><br><span class="line"> </span><br><span class="line">w6 = pg.PlotWidget(title=<span class="string">&quot;Dock 6 plot&quot;</span>)</span><br><span class="line">w6.plot(np.random.normal(size=<span class="number">100</span>))</span><br><span class="line">d6.addWidget(w6)</span><br><span class="line"> </span><br><span class="line"> </span><br><span class="line"> </span><br><span class="line">win.show()</span><br><span class="line"> </span><br><span class="line"> </span><br><span class="line"> </span><br><span class="line"><span class="comment">## Start Qt event loop unless running in interactive mode or using pyside.</span></span><br><span class="line"><span class="keyword">if</span> __name__ == <span class="string">&#x27;__main__&#x27;</span>:</span><br><span class="line">    <span class="keyword">import</span> sys</span><br><span class="line">    <span class="keyword">if</span> (sys.flags.interactive != <span class="number">1</span>) <span class="keyword">or</span> <span class="keyword">not</span> <span class="built_in">hasattr</span>(QtCore, <span class="string">&#x27;PYQT_VERSION&#x27;</span>):</span><br><span class="line">        QtGui.QApplication.instance().exec_()</span><br></pre></td></tr></table></figure>

    </div>

    
    
    

      <footer class="post-footer">
          <div class="post-tags">
              <a href="/tags/python%E5%9F%BA%E7%A1%80/" rel="tag"># python基础</a>
          </div>

        


        
    <div class="post-nav">
      <div class="post-nav-item">
    <a href="/2023/01/16/%E5%9C%A8PyQt%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E4%B8%AD%E5%B5%8C%E5%85%A5Matplotlib%E5%9B%BE/" rel="prev" title="在PyQt应用程序中嵌入Matplotlib图">
      <i class="fa fa-chevron-left"></i> 在PyQt应用程序中嵌入Matplotlib图
    </a></div>
      <div class="post-nav-item">
    <a href="/2023/02/01/%E6%9D%B0%E7%90%86MCU%E4%B8%B2%E5%8F%A3%E4%BD%BF%E7%94%A8DMA%E6%96%B9%E5%BC%8F%E6%8E%A5%E6%94%B6%E6%95%B0%E6%8D%AE%E6%B3%A8%E6%84%8F%E7%82%B9/" rel="next" title="杰理MCU串口使用DMA方式接收数据注意点">
      杰理MCU串口使用DMA方式接收数据注意点 <i class="fa fa-chevron-right"></i>
    </a></div>
    </div>
      </footer>
    
  </article>
  
  
  



          </div>
          
    <div class="comments" id="valine-comments"></div>

<script>
  window.addEventListener('tabs:register', () => {
    let { activeClass } = CONFIG.comments;
    if (CONFIG.comments.storage) {
      activeClass = localStorage.getItem('comments_active') || activeClass;
    }
    if (activeClass) {
      let activeTab = document.querySelector(`a[href="#comment-${activeClass}"]`);
      if (activeTab) {
        activeTab.click();
      }
    }
  });
  if (CONFIG.comments.storage) {
    window.addEventListener('tabs:click', event => {
      if (!event.target.matches('.tabs-comment .tab-content .tab-pane')) return;
      let commentClass = event.target.classList[1];
      localStorage.setItem('comments_active', commentClass);
    });
  }
</script>

        </div>
          
  
  <div class="toggle sidebar-toggle">
    <span class="toggle-line toggle-line-first"></span>
    <span class="toggle-line toggle-line-middle"></span>
    <span class="toggle-line toggle-line-last"></span>
  </div>

  <aside class="sidebar">
    <div class="sidebar-inner">

      <ul class="sidebar-nav motion-element">
        <li class="sidebar-nav-toc">
          文章目录
        </li>
        <li class="sidebar-nav-overview">
          站点概览
        </li>
      </ul>

      <!--noindex-->
      <div class="post-toc-wrap sidebar-panel">
      </div>
      <!--/noindex-->

      <div class="site-overview-wrap sidebar-panel">
        <div class="site-author motion-element" itemprop="author" itemscope itemtype="http://schema.org/Person">
  <p class="site-author-name" itemprop="name">xudonglei</p>
  <div class="site-description" itemprop="description">搬砖 嵌入式</div>
</div>
<div class="site-state-wrap motion-element">
  <nav class="site-state">
      <div class="site-state-item site-state-posts">
          <a href="/archives/">
        
          <span class="site-state-item-count">283</span>
          <span class="site-state-item-name">日志</span>
        </a>
      </div>
      <div class="site-state-item site-state-categories">
            <a href="/categories/">
          
        <span class="site-state-item-count">19</span>
        <span class="site-state-item-name">分类</span></a>
      </div>
      <div class="site-state-item site-state-tags">
            <a href="/tags/">
          
        <span class="site-state-item-count">67</span>
        <span class="site-state-item-name">标签</span></a>
      </div>
  </nav>
</div>



      </div>

    </div>
  </aside>
  <div id="sidebar-dimmer"></div>


      </div>
    </main>

    <footer class="footer">
      <div class="footer-inner">
        

        

<div class="copyright">
  
  &copy; 
  <span itemprop="copyrightYear">2024</span>
  <span class="with-love">
    <i class="fa fa-user"></i>
  </span>
  <span class="author" itemprop="copyrightHolder">xudonglei</span>
</div>
  <div class="powered-by">由 <a href="https://hexo.io/" class="theme-link" rel="noopener" target="_blank">Hexo</a> & <a href="https://muse.theme-next.org/" class="theme-link" rel="noopener" target="_blank">NexT.Muse</a> 强力驱动
  </div>

        








      </div>
    </footer>
  </div>

  
  <script src="/lib/anime.min.js"></script>
  <script src="/lib/velocity/velocity.min.js"></script>
  <script src="/lib/velocity/velocity.ui.min.js"></script>

<script src="/js/utils.js"></script>

<script src="/js/motion.js"></script>


<script src="/js/schemes/muse.js"></script>


<script src="/js/next-boot.js"></script>




  




  
<script src="/js/local-search.js"></script>













  

  


<script>
NexT.utils.loadComments(document.querySelector('#valine-comments'), () => {
  NexT.utils.getScript('//unpkg.com/valine/dist/Valine.min.js', () => {
    var GUEST = ['nick', 'mail', 'link'];
    var guest = 'nick,mail,link';
    guest = guest.split(',').filter(item => {
      return GUEST.includes(item);
    });
    new Valine({
      el         : '#valine-comments',
      verify     : false,
      notify     : false,
      appId      : 'BT0Qw9HcTpPv1a6cT1iDBXKz-gzGzoHsz',
      appKey     : 'LMCMh8v02JTMFAwKNRcgoizI',
      placeholder: "Just go go",
      avatar     : 'mm',
      meta       : guest,
      pageSize   : '10' || 10,
      visitor    : true,
      lang       : 'zh-CN' || 'zh-cn',
      path       : location.pathname,
      recordIP   : false,
      serverURLs : ''
    });
  }, window.Valine);
});
</script>

</body>
</html>
